package com.example.hhhh;

import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.alibaba.android.arouter.facade.annotation.Route;

/**
 * @ProjectName: Hhhh
 * @Package: com.example.hhhh
 * @ClassName: EighthAct
 * @Description: java类作用描述
 * @Author: songhua
 * @CreateDate: 2020/4/8 0008 14:11
 */
@Route(path = "/app/NinthAct")
public class NinthAct extends SwipeBackActivity implements View.OnClickListener {
    private Button btn;
    private DiscountView discount;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ninth);
        btn= (Button) findViewById(R.id.btn);
        discount= (DiscountView) findViewById(R.id.discount);
        discount.setLabelText("9.5");
        discount.setLabelTextColor(Color.parseColor("#ffffff"));
        discount.setLabelColor(Color.parseColor("#4D66F6"));
        discount.retateView(-40);
        btn.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        new BillDescriptionDialog(this).show();
    }
}
